package testes.examples;

import java.awt.Graphics;
import javax.swing.JFrame;

/**
 *
 * @author sheila
 */
public class FrameExample extends JFrame{
    public FrameExample(){
        setSize(300,400);
        this.setVisible(true);
    }
    @Override
    public void paint(Graphics g){
        g.drawLine(0, 0, 100, 100);

    }
    public static void main(String[] args) {
        new FrameExample();
    }

}
